//
//  BaseTable.h
//  SelfDriving
//
//  Created by apple on 15/10/22.
//  Copyright © 2015年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DTModel.h"
@class BaseTableDelegate;
@protocol BaseTableDetelage <NSObject>

-(void)initData:(int)index;
@end
@interface BaseTable : UITableView
@property id<BaseTableDetelage>bdelegate;
@property (strong,nonatomic)UILabel *noDataLabel;

@property(assign,nonatomic)BOOL refresh;
//xhw2018-1-18
@property(assign,nonatomic)int xhwIndex;
-(UIView *)notData;
-(NSMutableArray *)result:(NSMutableArray *)rsdata olddata:(NSMutableArray *)olddata  index:(int)index;
-(void)Refresh;
- (void)footerRereshing;
- (void)headerRereshing;




-(int)Basics:(UITableViewCell*)cell dtmodel:(DTModel *)model bgview:(UIView *)bgview;
-(int)Attachment:(UITableViewCell*)cell dtmodel:(DTModel *)model bgview:(UIView *)bgview;
@end
